Skip to main content

TheClickButton

Type

expression

Summary

Determines the mouse button which started the mouse click.

Syntax

the ( current ) click button

Description

Determines the mouse button which started the mouse click.

Examples

    variable tButton as integer
put the click button into tButton

if tButton is 1 then
// do primary button action
else
// do secondary button action
end if

Value

NameTypeDescription

return

The index of the mouse button which started the mouse click.

Thank you for your feedback!

Was this page helpful?